CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

PROJECT("c11_learn")

INCLUDE_DIRECTORIES( 
  "${CMAKE_CURRENT_SOURCE_DIR}/include"
  "${CMAKE_CURRENT_SOURCE_DIR}/test"
)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")

FILE(GLOB_RECURSE all_files 
include/*.h
include/*.hpp
include/*.hxx
include/*.tcc
src/*.cpp
src/*.cc
src/*.cxx
src/*.c
test/*.cpp
test/*.cc
test/*.cxx
test/*.c)

add_executable(c11_learn ${all_files})

target_link_libraries(c11_learn magellan l0-infra) 


